import request from '@/utils/request'

//判断是否打卡
export function getMap(data) {
  return request({
    url: '/punchs/record/create',
    method: 'post',
    data:data
  })
}
//获得自己的打卡数据
export function getMyMap() {
  return request({
    url: '/punchs/record/selectByUserId',
    method: 'get',
    
  })
}